'''n = input ("请输入一个数")
sum = 0
for i in range (int(n)):
    sum += i + 1
print(sum) '''

n = eval(input ("请输入一个数"))
sum = 0
for i in range (n):
    sum += i + 1
print(sum)
